<template>
	<div class="header-like">
		<div class="like-top">
			<span class="iconfont">&#xe699;</span>
			<label>猜你喜欢</label>
		</div>
		<ul class="like-list">
			<li class="border-bottom" v-for="(item,index) in LikeList" :key="index">
				<div class="item-img">
					<img :src="item.likeURL" />
				</div>
				<div class="list-item">
					<p class="list-litil">{{item.litil}}</p>
					<p class="item-sad">
						<span class="iconfont">&#xe812</span>
						<span class="iconfont">&#xe812</span>
						<span class="iconfont">&#xe812</span>
						<span class="iconfont">&#xe812</span>
						<span class="iconfont">&#xe812</span>
						<label>{{item.message}}条评论</label>
					</p>
					<div class="item-pri">
						<span>￥<i>{{item.price}}</i></span>起
						<label>{{item.adret}}</label>
					</div>
				</div>
			</li>
		</ul>
	</div>
</template>

<script>
	export default {
		props:['LikeList'],
		data() {
			return {
				
			}
			
		},
	}
</script>

<style scoped>
	.header-like{
		width: 100%;
		overflow: hidden;
		background-color: white;
		font-size: 0.3rem;
		margin-top: 0.4rem;
		padding-bottom: 1rem;
	}
	.like-top{
		line-height: 1rem;
		padding-left: 0.2rem;
		text-align: left;
		font-weight: bold;
		font-size: 0.4rem;
		color: #000000;
	}
	.like-top .iconfont{
		color: red !important;
		margin-right: 0.2rem;
	}
	.like-list{
		width: 100%;
		height: 2rem;
		padding: 0.2rem;
		padding-top: 0.3rem;
		margin: 0;
	}
	.border-bottom{
		margin-bottom: 0.2rem;
		padding-bottom: 0.2rem;
		height: 2rem;
		border-bottom:2px solid #CCCCCC;
	}
	.item-img{
		height: 2rem;
		width: 2rem;
		float: left;
	}
	.like-list img{
		width: 100%;
		height: 100%;
	}
	.list-item{
		width: 5.1rem;
		height: 100%;
		float: left;
		padding-left: 0.2rem;
		text-align: left;
	}
	.list-item p{
		display: block;
	}
	.list-litil{
		font-size: 0.4rem;
		padding-bottom: 0.3rem;
	}
	.item-sad{
		padding-bottom: 0.3rem;
	}
	.item-sad .iconfont{
		color: yellow;
		font-weight: bold;
	}
	.item-sad label{
		margin-left: 0.1rem;
	}
	.item-pri span{
		/* float: left; */
		color: orange;
	}
	.item-pri i{
		font-style: normal;
		font-size: 0.45rem;
	}
	.item-pri label{
		float: right;
		padding-right: 0.3rem;
	}
</style>
